package cn.wolfcode.gitflow_1.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @RequestMapping("/login")
    public String login(String username,String password){
        System.out.println("登录");
        return "success";
    }
    @RequestMapping("/regist")
    public  String regis (String username,String password){
        System.out.println("修复bug");
        System.out.println("注册成功");
        System.out.println("修复bug1");
        return "success";
    }
}
